heading = new dynamicWidget("heading","Heading","ICONf0aa","adjustHeading(~~icon)",1005,"gpsInfo()","initHeading(~~icon)");
//heading.display()

var direction=0;
function initHeading(iconID){
    $("#"+iconID).css({
		"font-size":"35px",
		"transition":"all 500ms cubic-bezier(0.680, -0.550, 0.265, 1.550)",
		"transition-timing-function":"cubic-bezier(0.680, -0.550, 0.265, 1.550)"
    });
}

function gpsInfo(){
     showWalletGPSInfo();
}

function adjustHeading(iconID){
   $("#"+iconID).css({
	 transform:"rotate("+(360-orientationAlpha)+"deg)"
   });
}
